package com.by.domain;


import java.util.Date;

/**
 * <p>商品类<p/>
 *
 * @author boyin
 * @ClassName Product
 * @Description 商品基本信息类
 * @date 2024/11/7 22:54
 */
public class Product {
    //库存
    private Integer stock;

    //价格
    private Integer price;

    //名称
    private String name;

    //主键id
    private String id;

    //修改日期
    private Date updateDate;

    //修改日期
    private Date createDate;

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}
